# Makefile for libpmd1
#  Written by Mark A. Watson
#
include ../makeconfig

objects = \
pmd1_shell_pairs.o\
pmd1_main.o

all: objcomp

objcomp : $(objects)
	$(RM) libpmd1.a
	$(AR) $(ARFLAGS) libpmd1.a $(objects)
	$(RANLIB) libpmd1.a

clean :
	$(RM) *.o *.mod *.a

veryclean :
	$(RM) *.o *.mod *.a

.SUFFIXES:.f
.f.o: 
	$(F77) $(F77FLAGS) -c $<
.SUFFIXES:.f90
.f90.o: 
	$(F90) $(F90FLAGS) -I../md1_lib    \
                      -I../pfmm_lib    \
                      -c $<


